/**
 * @description 文件操作
 *  */
 /* 打开pdf */
export function openPdf(url) {
	uni.downloadFile({
		url,
		success: function(res) {
			var filePath = res.tempFilePath;
			uni.openDocument({
				filePath: filePath,
				fileType: "pdf",
				showMenu: true,
				success: function() {
					console.log('打开文档成功');
				}
			});
		}
	})
}
